package com.sanyou.mapper;

import com.sanyou.pojo.Menu;
import com.sanyou.pojo.vo.MenuVo;
import com.sanyou.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper extends MyMapper<Menu> {
    List<MenuVo> query(@Param("text")String text);

    List<Menu> getMenuItems(String userId);
}